This is the sample code for my article in VSM on Vista
User Access Control.

Use this in any way that helps you, but there is no 
warranty explicit or implied of any type whatsoever.

The easiest way to test it is to run the executables
in the UAC Main App's bin/debug directory. The 
WindowsAPpliation2 app simulates the initial failure.

Enjoy!
Kathleen Dollard